package com.salemanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.three.core.entity.UserIntegral;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;

/**
* @author liuliyuan
* @description 针对表【tb_user_integral(积分)】的数据库操作Mapper
* @createDate 2025-03-19 09:57:57
* @Entity com.lly.entity.UserIntegral
*/
@Mapper
public interface UserIntegralMapper extends BaseMapper<UserIntegral> {

    int updateIntegral(Integer userId, BigDecimal totalIntegral, Integer storeId);

    UserIntegral selectIntegral(Integer userId, Integer storeId);
}
